Ext.define('NIM.view.Profile.main' ,{
    extend: 'Ext.panel.Panel',
    alias: 'widget.main_Profile',
    id: 'main_Profile',
    border: false,
	width: 1 * screen.width,
	height: 590,
	layout: {
	type: 'border'
	},
	  dockedItems: [
      {
          xtype: 'panel',
          dock: 'right',
          title: 'Profile',
          items: [
              {
                  xtype: 'menu',
                  floating: false,
                  width: 256,
                  items: [
                      {
                          xtype: 'menuitem',
                          text: 'My Profile'
                      },
                      {
                          xtype: 'menuitem',
                          text: 'Change Password'
                      },
                      {
                          xtype: 'menuitem',
                          text: 'Log Out'
                      }
                  ]
              }
          ]
      }
  ],
  items: [
      {
          xtype: 'form',
          region: 'west',
          width: 1150,
          bodyPadding: 10,
          title: 'My Profile',
          items: [
              {
                  xtype: 'displayfield',
                  anchor: '100%',
                  fieldLabel: 'Nama',
                  value: 'Achmad'
              },
              {
                  xtype: 'displayfield',
                  anchor: '100%',
                  fieldLabel: 'Alamat',
                  value: 'Jalan Raya'
              },
              {
                  xtype: 'displayfield',
                  anchor: '100%',
                  fieldLabel: 'TTL',
                  value: 'Jombang, 1 Januari 1988'
              }
          ]
      }
  ]
            


});